package pers.wensheng.patterns.behavioral_pattern.state_pattern.after.entity;

import lombok.Getter;
import lombok.Setter;
import pers.wensheng.patterns.behavioral_pattern.state_pattern.after.Context;

/**
 * 抽象状态类
 */
@Getter
@Setter
public abstract class LiftState {

    //声名一个环境角色类变量
    protected Context context;

    /**
     * 电梯操作
     */
    public abstract void open();
    public abstract void close();
    public abstract void run();
    public abstract void stop();

}
